Skip to content

Add button to lock tablet area to playable area#38117

Open
KlorexArts wants to merge 4 commits into
ppy:masterfrom
KlorexArts:lock-tablet-area
Open

Add button to lock tablet area to playable area#38117
KlorexArts wants to merge 4 commits into
ppy:masterfrom
KlorexArts:lock-tablet-area

Conversation

@KlorexArts

Copy link
Copy Markdown

Added a button in the input section of the tablet settings "Lock to usable area".

notes:
This toggle allows the player to lock the tablet area to the playable area.
It will also snap to the nearest point if enabled, while the current tablet area is outside the current playable area.
If its impossible to snap to the nearest point, due to the area being rotated and too big at the same time, the button wont be able to be toggled.
It also disables itself when the user rotates the area and its impossible to be kept on for the same reason as before.

Demonstration:

2026-06-20.03-57-37.mp4

@bdach bdach added the subjective PRs with subjective changes which have not been discussed prior. Need team consensus to proceed. label Jun 22, 2026
areaOffset.BindValueChanged(val => Schedule(() =>
{
var clamped = clampOffset(val.NewValue);
if (clamped != val.NewValue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L subjective PRs with subjective changes which have not been discussed prior. Need team consensus to proceed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants